package parent.cloud.order.bean;

public class Order {
	private Integer id;
	private String name;
	private String address;
	private String phone;
	private Double price;

	public Order() {
	}

	public Order(Integer id, String name, String address, String phone, Double price) {
		this.id = id;
		this.name = name;
		this.address = address;
		this.phone = phone;
		this.price = price;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	@Override
	public String toString() {
		return "Order [id = " + id + ", name = " + name +
				" , address = " + address + ", phone = " + phone + ", price = " + price + "]";
	}
}
